<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends Controller {
	public function __construct(){
        parent::__construct();
        $this->buser = M('user');
        $user_id = session('user_id');
    }

    public function index(){
    	$user_id = session('user_id');
        $user = $this->buser->where(array('user_id'=>$user_id))->find();
        $this->user = $user;
        $this->display();
    }

    public function index_v3(){

        $this->display();
    }

    public function index_v2(){

        $this->display();
    }
}